Method and apparatus for registering wireless device in wireless communication system

ABSTRACT

A method for registering a wireless device by a terminal in a wireless communication system is provided. The method includes obtaining connection information for the wireless device by scanning a recognition code of the wireless device in a first mode, transitioning to a second mode based on the connection information and receiving a connection request from the wireless device, performing a connection operation to the wireless device to transmit network access information to the wireless device, and transitioning to the first mode, and registering the wireless device upon detecting connection of the wireless device to a network in the first mode.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation of prior application Ser. No.16/562,812, filed on Sep. 6, 2019, which is a continuation applicationof prior application Ser. No. 16/368,031, filed on Mar. 28, 2019, whichhas issued as U.S. Pat. No. 11,510,167 on Nov. 22, 2022, which is acontinuation of prior application Ser. No. 14/299,416, filed on Jun. 9,2014, which has issued as U.S. Pat. No. 10,278,152 on Apr. 30, 2019 andwas based on and claimed the benefit under 35 U.S.C. § 119(a) of aKorean patent application filed on Jun. 12, 2013 in the KoreanIntellectual Property Office and assigned Serial number 10-2013-0067003,the entire disclosure of each of which is hereby incorporated byreference.

TECHNICAL FIELD

The present disclosure relates to a method and apparatus for registeringa wireless device in a wireless communication system.

BACKGROUND

In recent years, due to the increase in use of wireless communication,there is an increasing demand for connecting new wireless communicationdevices to the communication network. In addition, there is a need fortemporary connection between wireless devices based on wirelesscommunication technology, and in this case, pairing should be performedbetween the wireless devices.

In a related-art wireless communication system, the pairing may beperformed by an application installation process and a deviceregistration/authentication process according to the related art. Theapplication installation process represents a process in which a usersearches for and downloads an application for pairing, which is deployedby an operator, or downloads and installs a pairing application, whichis provided from a separate provider.

The device registration/authentication process may include a process ofrecognizing a wireless device for pairing, with minimized power,registering the wireless device by receiving a personal identificationnumber (PIN) code, blocking the registration of other wireless devicesduring pairing, and performing encrypted communication through theexchange of authentication keys. The device registration/authenticationprocess will be described in detail below.

A wireless device used for registering devices (hereinafter referred toas a ‘device registration-purpose wireless device’) may performregistration for adjacent wireless devices in order to minimize transmitpower. Therefore, the device registration-purpose wireless device shouldmove to the place adjacent to the wireless device that the deviceregistration-purpose wireless device will register, or a wireless devicesubject to the registration procedure should move to the place adjacentto the device registration-purpose wireless device. In this way, forpairing between two wireless devices, the two wireless devices should beplaced adjacent to each other by the user. Therefore, the existingdevice registration method may be limited to the user-dependent methodbecause the user's active involvement is required.

If the two wireless devices exist in the adjacent places, acommunication environment for communication between the two wirelessdevices may be provided, and a PIN code may be used for encryptedcommunication. The device registration-purpose wireless device mayprovide a PIN code that is randomly generated, or provided from anassociated system, to a relevant wireless device, and determine thewireless device to which a PIN code corresponding to the provided PINcode is applied, as a wireless device that the deviceregistration-purpose wireless device will register, thereby performingthe registration procedure.

When performing the registration procedure, the deviceregistration-purpose wireless device may block any devices frominvolvement in the registration during the registration procedure byignoring all the other adjacent devices for a period of a preset time.

For security, two wireless devices, which are not open before pairing,may exchange keys needed for authentication using separate wiredcommunication (e.g., universal asynchronous receiver/transmitter (UART)communication or the like) and closed wireless communication (e.g.,infrared data association (IrDA) communication or the like), and then,perform a registration procedure through an authentication process. Thetwo wireless devices may perform the registration procedure throughencrypted security communication, using Peer-to-Peer (P2P) communicationof near field communication (NFC).

In this pairing scheme, even though pairing is normally performed,another wireless device adjacent to the device registration-purposewireless device is likely to be registered, instead of the wirelessdevice that the user desires to register. In addition, the pairingscheme may undergo complicated pairing settings, because applicationinstallation and device registration should be separately performed,instead of being performed as one process, and identifiers (IDs) andpasswords for multiple items are required.

The above information is presented as background information only toassist with an understanding of the present disclosure. No determinationhas been made, and no assertion is made, as to whether any of the abovemight be applicable as prior art with regard to the present disclosure.

SUMMARY

Aspects of the present disclosure are to address at least theabove-mentioned problems and/or disadvantages and to provide at leastthe advantages described below. Accordingly, an aspect of the presentdisclosure is to provide a method and apparatus for registering awireless device in a wireless communication system.

Another aspect of the present disclosure is to provide a wireless deviceregistration method and apparatus for reducing a registration time andsimplifying a registration procedure for a wireless device.

Another aspect of the present disclosure is to provide a method andapparatus for allowing a desired wireless device to be securelyregistered without involvement of another wireless device.

In accordance with an aspect of the present disclosure, a method forregistering a wireless device by a terminal in a wireless communicationsystem is provided. The method includes obtaining connection informationfor the wireless device by scanning a recognition code of the wirelessdevice in a first mode, transitioning to a second mode based on theconnection information and receiving a connection request from thewireless device, performing a connection operation to the wirelessdevice to transmit network access information to the wireless device,and transitioning to the first mode, and registering the wireless deviceupon detecting connection of the wireless device to a network in thefirst mode.

In accordance with another aspect of the present disclosure, a methodfor registering a wireless device by a terminal in a wirelesscommunication system is provided. The method includes obtainingconnection information for the wireless device by scanning a recognitioncode of the wireless device, detecting an intermediate node connectingwith a communication network between the terminal and the wirelessdevice, based on the connection information, transmitting informationfor connection to the wireless device to the intermediate node, theinformation being included in the connection information, andregistering the wireless device upon receiving information indicatingconnection to the wireless device, from the intermediate node.

In accordance with further another aspect of the present disclosure, aterminal for registering a wireless device in a wireless communicationsystem is provided. The terminal includes a wireless unit, a recognitioncode scanner configured to obtain connection information for thewireless device by scanning a recognition code of the wireless device ina first mode, and a controller configured to transition to a second modebased on the connection information, to control the wireless unit toreceive a connection request from the wireless device, to perform aconnection operation to the wireless device to transmit network accessinformation to the wireless device, to transition to the first mode, andto register the wireless device upon detecting connection of thewireless device to a network in the first mode.

In accordance with yet another aspect of the present disclosure, aterminal for registering a wireless device in a wireless communicationsystem is provided. The terminal includes a wireless unit, a recognitioncode scanner configured to obtain connection information for thewireless device by scanning a recognition code of the wireless device,and a controller configured to detect an intermediate node connectingwith a communication network between the terminal and the wirelessdevice, based on the connection information, to control the wirelessunit to transmit information for connection to the wireless device tothe intermediate node, the information being included in the connectioninformation, and to register the wireless device upon receivinginformation indicating connection to the wireless device, from theintermediate node.

Other aspects, advantages, and salient features of the disclosure willbecome apparent to those skilled in the art from the following detaileddescription, which, taken in conjunction with the annexed drawings,discloses various embodiments of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of certain yembodiments of the present disclosure will be more apparent from thefollowing description taken in conjunction with the accompanyingdrawings, in which:

FIG. 1 illustrates a wireless communication system according to a firstembodiment of the present disclosure;

FIG. 2 is a signaling diagram illustrating a process of registering awireless device in a wireless communication system according to thefirst embodiment of the present disclosure;

FIG. 3 is a flowchart illustrating an operation of a terminal accordingto the first embodiment of the present disclosure;

FIG. 4 is a flowchart illustrating an operation of a wireless deviceaccording to the first embodiment of the present disclosure;

FIG. 5 illustrates a wireless communication system according to a secondembodiment of the present disclosure;

FIG. 6 is a signaling diagram illustrating a process of registering awireless device in a wireless communication system according to thesecond embodiment of the present disclosure;

FIG. 7 is a flowchart illustrating an operation of a terminal accordingto the second embodiment of the present disclosure;

FIG. 8 is a flowchart illustrating an operation of a wireless deviceaccording to the second embodiment of the present disclosure;

FIG. 9 illustrates a wireless communication system according to a thirdembodiment of the present disclosure;

FIG. 10 is a signaling diagram illustrating a process of registering awireless device in a wireless communication system according to thethird embodiment of the present disclosure;

FIG. 11 is a flowchart illustrating an operation of a terminal accordingto the third embodiment of the present disclosure;

FIG. 12 is a flowchart illustrating an operation of a Zigbee internetprotocol (IP) bridge according to the third embodiment of the presentdisclosure;

FIG. 13 is a flowchart illustrating an operation of a wireless deviceaccording to the third embodiment of the present disclosure;

FIG. 14 illustrates a wireless communication system according to afourth embodiment of the present disclosure;

FIG. 15 is a signaling diagram illustrating a process of registering awireless device in a wireless communication system according to thefourth embodiment of the present disclosure;

FIG. 16 is a flowchart illustrating an operation of a terminal accordingto the fourth embodiment of the present disclosure;

FIG. 17 is a flowchart illustrating an operation of a Z-wave IP bridgeaccording to the fourth embodiment of the present disclosure;

FIG. 18 is a flowchart illustrating an operation of a wireless deviceaccording to the fourth embodiment of the present disclosure;

FIG. 19 is a block diagram of a wireless device according to anembodiment of the present disclosure; and

FIG. 20 is a block diagram of a terminal according to an embodiment ofthe present disclosure.

Throughout the drawings, like reference numerals will be understood torefer to like parts, components, and structures.

DETAILED DESCRIPTION

The following description with reference to the accompanying drawings isprovided to assist in a comprehensive understanding of variousembodiments of the present disclosure as defined by the claims and theirequivalents. It includes various specific details to assist in thatunderstanding but these are to be regarded as merely exemplary.Accordingly, those of ordinary skilled in the art will recognize thatvarious changes and modifications of the various embodiments describedherein can be made without departing from the scope and spirit of thepresent disclosure. In addition, descriptions of well-known functionsand constructions may be omitted for clarity and conciseness.

The terms and words used in the following description and claims are notlimited to the bibliographical meanings, but, are merely used by theinventor to enable a clear and consistent understanding of the presentdisclosure. Accordingly, it should be apparent to those skilled in theart that the following description of various embodiments of the presentdisclosure is provided for illustration purpose only and not for thepurpose of limiting the present disclosure as defined by the appendedclaims and their equivalents.

It is to be understood that the singular forms “a,” “an,” and “the”include plural referents unless the context clearly dictates otherwise.Thus, for example, reference to “a component surface” includes referenceto one or more of such surfaces.

By the term “substantially” it is meant that the recited characteristic,parameter, or value need not be achieved exactly, but that deviations orvariations, including for example, tolerances, measurement error,measurement accuracy limitations and other factors known to those ofskill in the art, may occur in amounts that do not preclude the effectthe characteristic was intended to provide.

An aspect of the present disclosure provides a method and apparatus forregistering a wireless device in a wireless communication system. Thepresent disclosure provides the following four possible embodimentsdepending on the type of the wireless communication used by a wirelessdevice and a terminal. In a first embodiment of the present disclosure,a terminal performing wireless fidelity (Wi-Fi) communication mayregister a wireless device performing Wi-Fi communication based on atethering mode. In a second embodiment of the present disclosure, aterminal performing Wi-Fi communication may register a wireless deviceperforming Wi-Fi communication by performing peer-to-peer (P2P)communication with the wireless device. In a third embodiment of thepresent disclosure, a terminal performing Wi-Fi communication mayregister a wireless device performing Zigbee communication. In a fourthembodiment of the present disclosure, a terminal performing Wi-Ficommunication may register a wireless device performing Z-wavecommunication.

The wireless device proposed in the first to fourth embodiments of thepresent disclosure may include home appliances capable of wirelesscommunication, such as washing machines, refrigerators, televisions andthe like. The terminal proposed in the first to fourth embodiments ofthe present disclosure may include cellular phones, tablet personalcomputers (PCs) and the like, all of which are capable of wirelesscommunication. However, the wireless device and the terminal may not belimited to the above devices, and may include any other devices.

Each of the four embodiments of the present disclosure will now bedetailed in detail.

FIG. 1 illustrates a wireless communication system according to a firstembodiment of the present disclosure.

Referring to FIG. 1 , the wireless communication system according to thefirst embodiment of the present disclosure may be configured in the formof a home network, which includes a wireless device 100, a terminal 110,an access point (AP) 120, a home server 130, and may include othersimilar and/or suitable devices.

The wireless device 100 may perform Wi-Fi communication, and include arecognition code including device information and the like. Therecognition code may be a 2-dimensional (2D) recognition code. Therecognition code 105 may correspond to, for example, a quick response(QR) code 105 and the like, and for convenience of description, therecognition code will be referred to herein as a QR code 105.

In the first embodiment of the present disclosure, the QR code 105 mayinclude connectivity type information indicating the wirelesscommunication type such as Wi-Fi and the like, information about theoperation mode that the terminal 110 should enter in a registrationprocess, a Wi-Fi medium access control (MAC) address, a service setidentifier (SSID) and a password, which are used for tethering aconnection, uniform resource identifier (URI) information for downloadof an application, and the like. The above information may be encryptedand then stored in the QR code 105, and the URI information may berecorded in accordance with the QR standard.

The terminal 110, a device capable of performing Wi-Fi communication,may obtain information included in the QR code 105 by scanning the QRcode 105. The terminal 110 may enter the tethering mode based on theinformation obtained from the QR code 105, making it possible to performa registration procedure for the wireless device 100.

The AP 120 may be connected to the home server 130 and performcommunication with the external network. For example, if the terminal110 transmits URI information, the AP 120 may deliver an applicationcorresponding to the URI to the terminal 110.

The home server 130 may be connected to the external network and the AP120, and manage information about a variety of devices in the homenetwork.

Reference will now be made to FIG. 2 , to describe a process ofregistering a wireless device in the wireless communication systemillustrated in FIG. 1 .

FIG. 2 is a signaling diagram illustrating a process of registering awireless device in a wireless communication system according to thefirst embodiment of the present disclosure.

Referring to FIG. 2 , in operation 200, the terminal 110 may obtaininformation about connectivity type, operation mode, Wi-Fi MAC address,SSID, password, application URI and the like by scanning the QR code 105included in the wireless device 100. In operation 202, the terminal 110may download and install an application using the URI information. Theapplication may correspond to an application used for searching for andregistering of the wireless device 100, and the terminal 110 maydownload the application through the AP 120.

The terminal 110 may execute the application and determine theconnectivity type and operation mode included in the QR code 105. Inoperation 204, the terminal 110 may enter the tethering mode based onthe SSID and password, if it is determined that the connectivity typecorresponds to Wi-Fi and the operation mode is a station (STA)/AP mode(in which a terminal (or a station) operates as an AP, and a wirelessdevice operates as a terminal for the AP, thereby performing aregistration mode). The terminal 110 may start operating as an AP.

In operation 206, the wireless device 100 may recognize the terminal 110that operates as an AP. For example, the wireless device 100 mayrecognize the terminal 110 as an AP that has the same SSID and passwordas the SSID and password included in the QR code, through a periodic APscan process. The wireless device 100 may recognize the terminal 110 bydetermining that the terminal 110 is adjacent to the wireless device100, by means of a proximity sensor or the like.

Upon recognizing the terminal 110, the wireless device 100 may transmita connection request message to the terminal 110 in operation 208.Herein, although the wireless device 100 may transmit the connectionrequest message immediately after recognizing the terminal 110, thewireless device 100 may transmit the connection request message byreceiving a separate input from a user after informing the user of itsrecognition of the terminal 110 using a display, a voice sign or thelike.

Upon receiving the connection request message, the terminal 110 mayperform a Wi-Fi connection operation to the wireless device 100 inoperation 210. The terminal 110 may be connected not only to thewireless device 100 but also to a plurality of wireless devices, sincethe terminal 110 operates as an AP. Therefore, the terminal 110 shoulddetect the wireless device 100 that the terminal 110 desires toregister, among the plurality of wireless devices connected to theterminal 110. To this end, in operation 212, the terminal 110 may detectthe wireless device 100 among the plurality of wireless devicesconnected to the terminal 110, based on the Wi-Fi MAC address.

For example, the terminal 110 may broadcast a request signal fordiscovery of a wireless device to the plurality of wireless devicesusing a simple service discovery protocol (SSDP)/multicast domain namesystem (mDNS) or another discovery protocol, and then receive a responsesignal thereto. The terminal 110 may detect, as the wireless device 100,the wireless device that has transmitted a response signal including thesame Wi-Fi MAC address as the Wi-Fi MAC address that the terminal 110knows.

Upon detecting the wireless device 100, the terminal 110 may encrypt APaccess information including the information needed for an access to theAP 120, and transmit the encrypted AP access information to the wirelessdevice 100 in operation 214. In operation 216, the terminal 110 mayterminate the tethering mode. Although the terminal 110 may terminatethe tethering mode immediately after transmitting the AP accessinformation, the terminal 110 may terminate the tethering mode afterreceiving a signal indicating the reception of the access information ofthe AP 120, from the wireless device 100.

After terminating the tethering mode, the terminal 110 may access againthe AP 120 in operation 218. In operation 220, the wireless device 100may access the AP 120 based on the AP access information received fromthe terminal 110. The wireless device 100 may transmit its owninformation to the AP 120. Then, the AP 120 may transmit the informationabout the wireless device 100 to the home server 130 so that theinformation about the wireless device 100 may be registered in the homenetwork.

The terminal 110 may detect wireless devices connected to the homenetwork, using the SSDP/mDNS or another discovery protocol. The terminal110 may allow the user to select at least one of the detected wirelessdevices by displaying information about the detected wireless devices onthe screen. If the user selects the wireless device 100, the terminal110 may transmit a pairing request to the wireless device 100 andreceive a response signal thereto. In operation 222, upon detecting theconnection to the wireless device 100, the terminal 110 may performregistration for the wireless device 100.

Next, reference will be made to FIGS. 3 and 4 , to describe operationsof the terminal 110 and the wireless device 100 according to the firstembodiment of the present disclosure, respectively.

FIG. 3 is a flowchart illustrating an operation of a terminal accordingto the first embodiment of the present disclosure.

Referring to FIG. 3 , in operation 300, the terminal 110 may obtaindevice information (e.g., connectivity type, operation mode, Wi-Fi MACaddress, SSID, password, application URI and the like) by scanning theQR code 105 of the wireless device 100. In operation 302, the terminal110 may download and install an application using the URI.

In operation 304, the terminal 110 may execute the application, and ifthe connectivity type corresponds to Wi-Fi and the operation mode is theSTA/AP mode, the terminal 110 may enter the tethering mode using theSSID and password. In operation 306, upon receiving a connection requestfrom the wireless device 100 while the terminal 110 operates as an AP inthe tethering mode, the terminal 110 may perform a connection operationto the wireless device 100. In operation 308, the terminal 110 maydetermine whether the connected wireless device is a relevant wirelessdevice (e.g., the wireless device 100) based on the Wi-Fi MAC address,because the terminal 110 may be connected not only to the wirelessdevice 100 but also to another wireless device.

If it is determined in operation 310 that the connected wireless device100 is the relevant wireless device, the terminal 110 may encrypt APaccess information and transmit the encrypted AP access information tothe wireless device 100 in operation 312. In operation 314, the terminal110 may terminate the tethering mode and access the AP 120.

The terminal 110 may detect wireless devices connected to the homenetwork using the SSDP/mDNS or another discovery protocol. The terminal110 may allow the user to select at least one of the detected wirelessdevices by displaying information about the detected wireless devices onthe screen.

If the user selects the wireless device 100, the terminal 110 maytransmit a pairing request to the wireless device 100, and receive aresponse signal thereto. In operation 316, the terminal 110 maydetermine its connection to the wireless device 100 and register thewireless device 100.

FIG. 4 is a flowchart illustrating an operation of a wireless deviceaccording to the first embodiment of the present disclosure.

Referring to FIG. 4 , in operation 400, the wireless device 100 maydetect the terminal 110 operating as an AP, based on the SSID andpassword included in the QR code 105. The wireless device 100 may detectthe terminal 110 as an AP that has the same SSID and password as theSSID and password included in the QR code 105, through a periodic APscan process. After determining that a specific terminal is adjacent tothe wireless device 100 by means of a proximity sensor or the like, thewireless device 100 may detect or discover the terminal 110 bydetermining whether the specific terminal is the terminal 110 based onthe SSID and password included in the QR code 105.

In operation 402, the wireless device 100 may transmit a connectionrequest message to the detected terminal 110 and perform a connectionoperation. Upon receiving a request signal for discovery from theterminal 110, the wireless device 100 may transmit the Wi-Fi MAC addressincluded in the QR code 105 using a response signal, allowing theterminal 110 to detect the wireless device 100.

After performing the above process, upon receiving AP access informationfrom the terminal 110 in operation 404, the wireless device 100 mayaccess the AP 120 based on the received AP access information inoperation 406. The wireless device 100 may transmit its own informationto the AP 120 so that the wireless device 100 may be registered in thehome network. Upon receiving a pairing request by the terminal 110, thewireless device 100 may pair with the terminal 110 in operation 408.

Next, a description will be made of the second embodiment of the presentdisclosure, in which a terminal performing Wi-Fi communication registersa wireless device performing Wi-Fi communication by performing P2Pcommunication with the wireless device.

FIG. 5 illustrates a wireless communication system according to a secondembodiment of the present disclosure.

Referring to FIG. 5 , the wireless communication system according to thesecond embodiment of the present disclosure may be configured in theform of a home network, which includes a wireless device 500, a terminal510, an AP 520, a home server 530, and may include other similar and/orsuitable devices.

The wireless device 500 may perform Wi-Fi communication, and include arecognition code including device information and the like. Therecognition code may be a 2D recognition code. The recognition code maycorrespond to, for example, a QR code 505 and the like, and forconvenience of description, the recognition code will be referred toherein as a QR code 505.

In the second embodiment of the present disclosure, the QR code 505 mayinclude connectivity type information indicating the wirelesscommunication type such as Wi-Fi and the like, information about theoperation mode that the terminal 510 should enter in a registrationprocess, a Wi-Fi MAC address, a P2P personal identification number (PIN)code used to perform P2P communication, URI information for download ofan application, and the like. The above information may be encrypted andthen stored in the QR code 505, and the URI information may be recordedin accordance with the QR standard.

The terminal 510, a device capable of performing Wi-Fi communication,may obtain information included in the QR code 505 by scanning the QRcode 505. The terminal 510 may perform a registration procedure for thewireless device 500 by performing P2P communication with the wirelessdevice 500 based on the information obtained from the QR code 505.

The AP 520 may be connected to the home server 530 and performcommunication with the external network. For example, if the terminal510 transmits URI information, the AP 520 may deliver an applicationcorresponding to the URI to the terminal 510.

The home server 530 may be connected to the external network and the AP520, and manage information about a variety of devices in the homenetwork.

Reference will now be made to FIG. 6 , to describe a process ofregistering a wireless device in the wireless communication systemillustrated in FIG. 5 .

FIG. 6 is a signaling diagram illustrating a process of registering awireless device in a wireless communication system according to thesecond embodiment of the present disclosure.

Referring to FIG. 6 , in operation 600, the terminal 510 may obtaininformation about connectivity type, operation mode, Wi-Fi MAC address,P2P PIN code, application URI and the like by scanning the QR code 505included in the wireless device 500. In operation 602, the terminal 510may download and install an application using the URI information. Theapplication may correspond to an application used for searching for andregistering of the wireless device 500, and the terminal 510 maydownload the application through the AP 520.

The terminal 510 may execute the application and determine theconnectivity type and operation mode included in the QR code 505. Inoperation 604, the terminal 510 may enter a Wi-Fi P2P mode by turning ona Wi-Fi interface, if it is determined that the connectivity typecorresponds to Wi-Fi and the operation mode is the P2P mode (in which aterminal performs a registration procedure by performing P2Pcommunication with a wireless device). The terminal 510 may detect atleast one wireless device for P2P communication, and perform a P2Pconnection operation based on the P2P PIN code in operation 606.

Specifically, the terminal 510 may broadcast a request signal fordiscovery of a wireless device, and then receive a response signalthereto. The terminal 510 may detect the wireless device that hastransmitted the response signal, as a wireless device for P2Pcommunication in operation 608. The terminal 510 may detect, as awireless device for P2P communication, the wireless device that hastransmitted the same P2P PIN code as the obtained P2P PIN code, amongthe wireless devices that have transmitted the response signal, andperform a connection operation to the wireless device for P2Pcommunication. The P2P PIN code may be transmitted together with theresponse signal, or transmitted in a separate signal from the at leastone wireless device. Here, the terminal 510 may determine whether theconnected wireless device is the wireless device 500, based on the Wi-FiMAC address. In other words, the terminal 510 may determine, as thewireless device 500, the wireless device that has the same Wi-Fi MACaddress as the Wi-Fi MAC address that the terminal 510 knows.

If the connected wireless device is determined to be the wireless device500, the terminal 510 may encrypt AP access information for the AP 520and transmit the encrypted AP access information to the wireless device500 in operation 610. In operation 612, the terminal 510 may terminatethe Wi-Fi P2P mode and turn off the Wi-Fi interface. Although notillustrated in FIG. 6 , the terminal 510 may terminate the P2P modeafter receiving a signal indicating the reception of the AP accessinformation from the wireless device 500.

After the termination of the P2P mode, the terminal 510 may access againthe AP 520 in operation 614. In operation 616, the wireless device 500may access the AP 520 based on the AP access information received fromthe terminal 510. The wireless device 500 may transmit its owninformation to the AP 520. Then, the AP 520 may transmit the informationabout the wireless device 500 to the home server 530 so that theinformation about the wireless device 500 may be registered in the homenetwork.

The terminal 510 may detect wireless devices connected to the homenetwork, using the SSDP/mDNS or another discovery protocol. The terminal510 may allow the user to select at least one of the detected wirelessdevices by displaying information about the detected wireless devices onthe screen. If the user selects the wireless device 500, the terminal510 may transmit a pairing request to the wireless device 500 andreceive a response signal thereto. In operation 618, upon detecting theconnection to the wireless device 500, the terminal 510 may performregistration for the wireless device 500.

Next, reference will be made to FIGS. 7 and 8 , to describe operationsof the terminal 510 and the wireless device 500 according to the secondembodiment of the present disclosure, respectively.

FIG. 7 is a flowchart illustrating an operation of a terminal accordingto the second embodiment of the present disclosure.

Referring to FIG. 7 , in operation 700, the terminal 510 may obtaindevice information (e.g., connectivity type, operation mode, Wi-Fi MACaddress, P2P PIN code, application URI and the like) by scanning the QRcode 505 of the wireless device 500. In operation 702, the terminal 510may download and install an application using the URI.

In operation 704, the terminal 510 may execute the application, andenter the Wi-Fi P2P mode and detect a wireless device for P2Pcommunication, if the connectivity type corresponds to Wi-Fi and theoperation mode is the P2P mode. In operation 706, the terminal 510 mayperform a P2P connection operation to the detected wireless device basedon the P2P PIN code.

In operation 708, the terminal 510 may determine whether the detectedwireless device is the relevant wireless device 500, based on the Wi-FiMAC address. If it is determined in operation 710 that the detectedwireless device is the relevant wireless device 500, the terminal 510may encrypt AP access information and transmit the encrypted AP accessinformation to the wireless device 500 in operation 712. In operation714, the terminal 510 may terminate the Wi-Fi P2P mode and access the AP520.

The terminal 510 may detect wireless devices connected to the homenetwork, using the SSDP/mDNS or another discovery protocol. The terminal510 may allow the user to select at least one of the detected wirelessdevices by displaying information about the detected wireless devices onthe screen.

If the user selects the wireless device 500, the terminal 510 maytransmit a pairing request to the wireless device 500 and receive aresponse signal thereto. In operation 716, upon detecting the connectionto the wireless device 500, the terminal 510 may perform registrationfor the wireless device 500.

FIG. 8 is a flowchart illustrating an operation of a wireless deviceaccording to the second embodiment of the present disclosure.

Referring to FIG. 8 , in operation 800, the wireless device 500 mayperform a P2P connection operation to the terminal 510 based on the P2PPIN code and Wi-Fi MAC address included in the QR code 505. The wirelessdevice 500 may receive AP access information from the terminal 510 inoperation 802, and access the AP 520 based on the received AP accessinformation in operation 804. Thereafter, upon receiving a pairingrequest by the terminal 510, the wireless device 500 may pair with theterminal 510 in operation 806.

Next, a description will be made of the third embodiment of the presentdisclosure, in which a terminal performing Wi-Fi communication registersa wireless device performing Zigbee communication.

FIG. 9 illustrates a wireless communication system according to a thirdembodiment of the present disclosure.

Referring to FIG. 9 , the wireless communication system according to thethird embodiment of the present disclosure may be configured in the formof a home network, which includes a wireless device 900, a Zigbee IPbridge 910, a terminal 920, an AP 930, a home server 940, and mayinclude other similar and/or suitable devices.

The wireless device 900 may perform Zigbee communication, and include arecognition code including device information and the like. Therecognition code may be a 2D recognition code. The recognition code maycorrespond to, for example, a QR code 905 and the like, and forconvenience of description, the recognition code will be referred toherein as a QR code 905.

In the third embodiment of the present disclosure, the QR code 905 mayinclude connectivity type information indicating the wirelesscommunication type such as Zigbee and the like, a Zigbee MAC address, asecurity key (e.g., an install key and the like; hereinafter thesecurity key will be referred to as an install key), URI information fordownload of an application, and the like. The above information may beencrypted and then stored in the QR code 905, and the URI informationmay be recorded in accordance with the QR standard.

The terminal 920, a device capable of performing Wi-Fi communication,may obtain information included in the QR code 905 by scanning the QRcode 905. The terminal 920 may perform a registration procedure for thewireless device 900 through the Zigbee IP bridge 910 based on theinformation obtained from the QR code 905.

The Zigbee IP bridge 910 is a device for connecting the Wi-Ficommunication network to the Zigbee communication network. The AP 930may be connected to the home server 940 and perform communication withthe external network. The home server 940 may be connected to theexternal network, and manage information about a variety of devices inthe home network.

FIG. 10 is a signaling diagram illustrating a process of registering awireless device in a wireless communication system according to thethird embodiment of the present disclosure.

Referring to FIG. 10 , in operation 1000, the terminal 920 may obtaininformation about connectivity type, Zigbee MAC address, install key,application URI and the like by scanning the QR code 950 included in thewireless device 900. In operation 1002, the terminal 920 may downloadand install an application using the URI information. The applicationmay correspond to an application used for searching for and registeringof the wireless device 900, and the terminal 920 may download theapplication through the AP 930.

The terminal 920 may execute the application and determine theconnectivity type included in the QR code 905. In operation 1004, theterminal 920 may search for the Zigbee IP bridge 910 if the connectivitytype is determined to be Zigbee. An operation of searching for theZigbee IP bridge 910 may be performed through a service discovery schemethat uses the SSDP or another discovery protocol.

Upon detecting the Zigbee IP bridge 910, the terminal 920 may transmitthe Zigbee MAC address and the install key to the Zigbee IP bridge 910in operation 1006. In operation 1008, the Zigbee IP bridge 910 may storeinformation about a wireless device corresponding to the Zigbee MACaddress and hash information of the install key. For example, the ZigbeeIP bridge 910 may register the hash information in a Zigbeecommunication modem of the Zigbee IP bridge 910.

Upon recognizing the terminal 920 in operation 1010, the wireless device900 may transmit a registration request message including informationabout the wireless device 900 to the Zigbee IP bridge 910 in operation1012. In operation 1014, the Zigbee IP bridge 910 may approveregistration for the terminal 920 based on the stored information andtransmit a registration approval message to the wireless device 900. Thewireless device 900 may recognize the terminal 920 using short-rangewireless communication such as a proximity sensor, near fieldcommunication (NFC) and the like.

In operation 1016, the Zigbee IP bridge 910 may transmit the pairingcompletion results indicating its connection to the wireless device 900,to the terminal 920 via the Wi-Fi interface. In operation 1018, theZigbee IP bridge 910 may transmit the registration completion resultsincluding information about the wireless device 900 to the home server940 in order to register the wireless device 900 in the home network.

Next, reference will be made to FIGS. 11 to 13 , to describe operationsof the terminal 920, the Zigbee IP bridge 910 and the wireless device900 according to the third embodiment of the present disclosure,respectively.

FIG. 11 is a flowchart illustrating an operation of a terminal accordingto the third embodiment of the present disclosure.

Referring to FIG. 11 , in operation 1100, the terminal 920 may obtaindevice information (e.g., connectivity type, Zigbee MAC address, installkey, and application URI) by scanning the QR code 905. In operation1102, the terminal 920 may download and install an application using theURI.

In operation 1104, the terminal 920 may execute the application, andsearch for the Zigbee IP bridge 910 if the connectivity type correspondsto Zigbee. Upon detecting the Zigbee IP bridge 910, the terminal 920 maytransmit the Zigbee MAC address and install key information to thedetected Zigbee IP bridge 910 in operation 1106.

In operation 1108, upon receiving pairing completion information fromthe Zigbee IP bridge 910, the terminal 920 may register the wirelessdevice 900 and terminate the registration procedure.

FIG. 12 is a flowchart illustrating an operation of a Zigbee IP bridgeaccording to the third embodiment of the present disclosure.

Referring to FIG. 12 , in operation 1200, the Zigbee IP bridge 910 mayreceive a Zigbee MAC address and an install key from the terminal 920.In operation 1202, the Zigbee IP bridge 910 may store hash informationof the install key together with the information about a wireless devicecorresponding to the Zigbee MAC address.

In operation 1204, the Zigbee IP bridge 910 may determine whether aregistration request is received from the wireless device 900. Uponreceiving the registration request in operation 1206, the Zigbee IPbridge 910 may determine whether to approve registration of the wirelessdevice 900 based on the stored information, in operation 1208.

If the Zigbee IP bridge 910 determines to approve registration of thewireless device 900 in operation 1210, the Zigbee IP bridge 910 maytransmit a registration approval message to the wireless device 900 inoperation 1212. In operation 1214, the Zigbee IP bridge 910 may transmitthe pairing completion results to the terminal 920, or transmit theregistration completion results to the home server 940.

FIG. 13 is a flowchart illustrating an operation of a wireless deviceaccording to the third embodiment of the present disclosure.

Referring to FIG. 13 , upon recognizing the terminal 920 for pairing inoperation 1300, the wireless device 900 may transmit a registrationrequest message to the Zigbee IP bridge 910 using a Zigbee MAC addressand an install key included in the QR code 905 in operation 1302. Inoperation 1304, the wireless device 900 may determine whether aregistration approval message is received from the Zigbee IP bridge 910.Upon receiving the registration approval message in operation 1306, thewireless device 900 may perform pairing with the terminal 920 inoperation 1308.

Next, a description will be made of the fourth embodiment of the presentdisclosure, in which a terminal performing Wi-Fi communication registersa wireless device performing Z-wave communication.

FIG. 14 illustrates a wireless communication system according to afourth embodiment of the present disclosure.

Referring to FIG. 14 , the wireless communication system according tothe fourth embodiment of the present disclosure may be configured in theform of a home network, which includes a wireless device 1400, a Z-waveIP bridge 1410, a terminal 1420, an AP 1430, a home server 1440, and mayinclude other similar and/or suitable devices.

The wireless device 1400 may perform Z-wave communication, and include arecognition code including device information and the like. Therecognition code may be a 2D recognition code. The recognition code maycorrespond to, for example, a QR code 1405 and the like, and forconvenience of description, the recognition code will be referred toherein as a QR code 1405.

In the fourth embodiment of the present disclosure, the QR code 1405 mayinclude connectivity type information indicating the wirelesscommunication type such as Z-wave and the like, a Z-wave Secure RemotePassword (SRP), URI information for download of an application, and thelike. The above information may be encrypted and then stored in the QRcode 1405, and the URI information may be recorded in accordance withthe QR standard.

The terminal 1420, a device capable of performing Wi-Fi communication,may obtain information included in the QR code 1405 by scanning the QRcode 1405. The terminal 1420 may perform a registration procedure forthe wireless device 1400 through the Z-wave IP bridge 1410 based on theinformation obtained from the QR code 1405.

The Z-wave IP bridge 1410 is a device for connecting the Wi-Ficommunication network to the Z-wave communication network. The AP 1430may be connected to the home server 1440 and perform communication withthe external network. The home server 1440 may be connected to theexternal network, and manage information about a variety of devices inthe home network.

FIG. 15 is a signaling diagram illustrating a process of registering awireless device in a wireless communication system according to thefourth embodiment of the present disclosure.

Referring to FIG. 15 , in operation 1500, the terminal 1420 may obtaininformation about connectivity type, Z-wave SRP, application URI and thelike by scanning the QR code 1450 included in the wireless device 1400.In operation 1502, the terminal 1420 may download and install anapplication using the URI information. The application may correspond toan application used for searching for and registering of the wirelessdevice 1400, and the terminal 1420 may download the application throughthe AP 1430.

The terminal 1420 may execute the application. In operation 1504, theterminal 1420 may search for the Z-wave IP bridge 1410 if theconnectivity type included in the QR code 1405 corresponds to Z-wave. Anoperation of searching for the Z-wave IP bridge 1410 may be performedthrough a service discovery scheme that uses the SSDP or anotherdiscovery protocol.

Upon detecting the Z-wave IP bridge 1410, the terminal 1420 may transmitthe Z-wave SRP to the Z-wave IP bridge 1410 in operation 1506. Inoperation 1508, the Z-wave IP bridge 1410 may store the Z-wave SRP.

Upon recognizing the terminal 1420 in operation 1510, the wirelessdevice 1400 may transmit a registration request to the Z-wave IP bridge1410 in operation 1512. In operation 1514, the Z-wave IP bridge 1410 mayapprove registration for the terminal 1420 based on the stored Z-waveSRP information. The wireless device 1400 may recognize the terminal1420 using short-range wireless communication such as a proximitysensor, NFC and the like.

In operation 1516, the Z-wave IP bridge 1410 may transmit the pairingcompletion results indicating its connection to the wireless device1400, to the terminal 1420 via the Wi-Fi interface. In operation 1518,the Z-wave IP bridge 1410 may transmit the registration completionresults including information about the wireless device 1400 to the homeserver 1440 in order to register the wireless device 1400 in the homenetwork.

Next, reference will be made to FIGS. 16 to 18 , to describe operationsof the terminal 1420, the Z-wave IP bridge 1410 and the wireless device1400 according to the fourth embodiment of the present disclosure,respectively.

FIG. 16 is a flowchart illustrating an operation of a terminal accordingto the fourth embodiment of the present disclosure.

Referring to FIG. 16 , in operation 1600, the terminal 1420 may obtaindevice information (e.g., connectivity type, Z-wave SRP, and applicationURI) by scanning the QR code 1405. In operation 1602, the terminal 1420may download and install an application using the URI.

In operation 1604, the terminal 1420 may execute the application andsearch for the Z-wave IP bridge 1410 if the connectivity typecorresponds to Z-wave. Upon detecting the Z-wave IP bridge 1410, theterminal 1420 may transmit the Z-wave SRP to the detected Z-wave IPbridge 1410 in operation 1606.

In operation 1608, upon receiving pairing completion information fromthe Z-wave IP bridge 1410, the terminal 1420 may register the wirelessdevice 1400 and terminate the registration procedure.

FIG. 17 is a flowchart illustrating an operation of a Z-wave IP bridgeaccording to the fourth embodiment of the present disclosure.

Referring to FIG. 17 , the Z-wave IP bridge 1410 may receive a Z-waveSRP from the terminal 1420 and store the Z-wave SRP in operation 1700.

The Z-wave IP bridge 1410 may determine in operation 1702 whether aregistration request is received from the wireless device 1400. Uponreceiving the registration request in operation 1704, the Z-wave IPbridge 1410 may determine in operation 1706 whether to approveregistration of the wireless device 1400 based on the stored Z-wave SRPinformation.

If the Z-wave IP bridge 1410 determines to approve registration of thewireless device 1400 in operation 1708, the Z-wave IP bridge 1410 maytransmit a registration approval message to the wireless device 1400 inoperation 1710. In operation 1712, the Z-wave IP bridge 1410 maytransmit the pairing completion results to the terminal 1420, ortransmit the registration completion results to the home server 1440.

FIG. 18 is a flowchart illustrating an operation of a wireless deviceaccording to the fourth embodiment of the present disclosure.

Referring to FIG. 18 , upon recognizing the terminal 1420 for pairing inoperation 1800, the wireless device 1400 may transmit a registrationrequest message to the Z-wave IP bridge 1410 using a Z-wave SRP includedin the QR code 1405 in operation 1802. The wireless device 1400 maydetermine in operation 1804 whether a registration approval message isreceived from the Z-wave IP bridge 1410. Upon receiving the registrationapproval message in operation 1806, the wireless device 1400 may performpairing with the terminal 1420 in operation 1808.

FIG. 19 is a block diagram of a wireless device according to anembodiment of the present disclosure.

Referring to FIG. 19 , the wireless device may include a wireless unit1900, a memory 1902, a sensor unit 1904, a controller 1906, and mayinclude other similar and/or suitable devices.

The wireless unit 1900 is a component for wireless communication of thewireless device. The wireless unit 1900 may include at least one of aWi-Fi interface for Wi-Fi communication, a Zigbee interface for Zigbeecommunication, and a Z-wave interface for Z-wave communication.

The memory 1902 may store a variety of information and data that aregenerated during an operation of the wireless device.

The sensor unit 1904 may determine whether a specific device such as aterminal and the like is adjacent to the wireless device, and output thedetermination results. For example, the sensor unit 1904 may beconfigured in various types such as an infrared sensor, a motion sensorand the like.

The controller 1906 may control the overall operation of the wirelessdevice by controlling the wireless unit 1900, the memory 1902 and thesensor unit 1904. In particular, the controller 1906 may control theabove components such that the operation of the wireless device may beperformed according to the first to fourth embodiments of the presentdisclosure.

FIG. 20 is a block diagram of a terminal according to an embodiment ofthe present disclosure.

Referring to FIG. 20 , the terminal may include a wireless unit 2000, amemory 2002, a QR code scanner 2004, a controller 2006, and may includeother similar and/or suitable devices.

The wireless unit 1900 is a component for wireless communication of theterminal. The wireless unit 2000 may include a Wi-Fi interface for Wi-Ficommunication, and an interface for Long Term Evolution (LTE)communication.

The memory 2002 may store a variety of information and data that aregenerated during an operation of the terminal. In particular, the memory2002 may store the information included in the QR code that is scannedfrom the wireless device.

The QR code scanner 2004, which is a component for scanning a QR codeincluded in the wireless device, may include, for example, a camera andthe like.

The controller 2006 may control the overall operation of the terminal bycontrolling the wireless unit 2000, the memory 2002 and the QR codescanner 2004. In particular, the controller 2006 may control the abovecomponents such that the operation of the terminal may be performedaccording to the first to fourth embodiments of the present disclosure.

It can be appreciated that the method and apparatus according toembodiments of the present disclosure may be implemented in the form ofhardware, software or a combination thereof. The software may be storedin a volatile or nonvolatile storage device (e.g., anerasable/re-writable read-only memory (ROM) or the like), a memory(e.g., a random access memory (RAM), a memory chip, a memory integratedcircuit (IC) or the like), or an optically or magnetically recordablemachine (e.g., computer)-readable storage medium (e.g., compact disk(CD), digital versatile disk (DVD), magnetic disk, magnetic tape or thelike). The method according to embodiments of the present disclosure maybe implemented by a computer or a portable terminal, which includes acontroller and a memory. It can be noted that the memory is an exampleof the machine-readable storage medium suitable to store a program orprograms including instructions for implementing embodiments of thepresent disclosure.

Therefore, the present disclosure may include a program including codesfor implementing the method and apparatus as defined by the appendedclaims and their equivalents, and also include a non-transitory machine(e.g., computer or the like)-readable storage medium storing theprogram. In addition, the program may be electronically carried on anymedia such as communication signals that are transmitted throughwired/wireless connections.

As is apparent from the foregoing description, according to embodimentsof the present disclosure, the information (e.g., Wi-Fi MAC address, andSSID and password for tethering connection in the case of Wi-Fi; ZigbeeMAC address and install key in the case of Zigbee; and SRP key and URIfor download of an application in the case of Z-wave) needed for theregistration procedure may be stored in the QR code mounted on awireless device, thereby to omit the input procedure which wasconventionally performed by the user, making it possible to perform thefast and easy device registration procedure.

In the case of a Zigbee wireless device, if a security scheme such as anelliptic curve cryptography (ECC) scheme or the like is used, a securitykey input procedure for an install key or the like is required. However,in accordance with an embodiment of the present disclosure, the securitykey included in the QR code may be transmitted to the Zigbee bridge thatis connected to the Zigbee wireless device, so the security key inputprocedure may be omitted.

In an embodiment of the present disclosure, if the user scans the QRcode of the wireless device to be registered, the device registrationprocedure may be automatically performed, so the user may convenientlypair the relevant devices. Further, in an embodiment of the presentdisclosure, each wireless device may be directly connected to theterminal since an individual SSID is used for each wireless device,making it possible to prevent other wireless devices except for thewireless device from being registered.

Moreover, if wireless communication such as Wi-Fi, Zigbee, Z-wave andthe like is used, the user may perform pairing between wireless devicesthough intuitive user experience (UX). In addition, if switching istemporarily made from the STA mode to the AP mode during wireless deviceregistration, the waiting time may increase in the registrationprocedure, and the SSID may be exposed to other users due to the use ofthe fixed SSID. However, in an embodiment of the present disclosure, theexposure may be prevented, improving the security, and the registrationtime may be reduced and the registration procedure may be simplified.

While the present disclosure has been shown and described with referenceto various embodiments thereof, it will be understood by those skilledin the art that various changes in form and details may be made thereinwithout departing from the spirit and scope of the present disclosure asdefined by the appended claims and their equivalents.

What is claimed is:
 1. A method by a first electronic device forfacilitating a connection of a second electronic device to an accesspoint, the method comprising: obtaining a quick response (QR) code onthe second electronic device, the QR code being obtained by using acamera of the first electronic device; based on the obtained QR code,identifying connection information for establishing a connection betweenthe first electronic device and the second electronic device, theconnection information including identification information of thesecond electronic device; establishing the connection between the firstelectronic device and the second electronic device based on theidentified connection information; and transmitting access informationof the access point to the second electronic device over the establishedconnection between the first electronic device and the second electronicdevice, wherein the access information of the access point is used forthe second electronic device to connect to the access point, and whereinthe connection between the first electronic device and the secondelectronic device is established based on the identified connectioninformation and a service set identifier (SSID) included in the obtainedQR code.
 2. The method of claim 1, further comprising: registering thesecond electronic device based at least on the second electronic devicebeing connected to the access point.
 3. The method of claim 2, whereinthe registering of the second electronic device further comprises:receiving a user input for indicating the second electronic device to beregistered.
 4. The method of claim 2, wherein the second electronicdevice is registered, via the access point, at a home servercorresponding to the first electronic device.
 5. The method of claim 1,further comprising: establishing a connection between the firstelectronic device and the access point to identify that the secondelectronic device is connected to the access point.
 6. The method ofclaim 1, wherein the connection information further includesidentification information to be used by the second electronic device toidentify the first electronic device for establishing the connectionbetween the first electronic device and the second electronic device. 7.The method of claim 1, wherein the connection information furtherincludes at least one of information about a connectivity type betweenthe second electronic device and the first electronic device, a mediumaccess control (MAC) address information of the second electronicdevice, or uniform resource identifier (URI) information related to anapplication to be used for establishing the connection between the firstelectronic device and the second electronic device.
 8. The method ofclaim 7, wherein the MAC address information of the second electronicdevice is used for identifying the second electronic device among aplurality of electronic devices if the plurality of electronic devicesare connected to the first electronic device.
 9. The method of claim 1,wherein the establishing of the connection with the second electronicdevice further comprises: a tethering operation, and wherein theidentification information is used by the first electronic device forthe tethering operation.
 10. The method of claim 1, wherein the secondelectronic device is a home appliance and the first electronic device isa smart phone.
 11. A non-transitory computer-readable storage mediumstoring instructions which, when executed by at least one processor of afirst electronic device, cause the first electronic device to: obtain aquick response (QR) code on a second electronic device, the QR codebeing obtained by using a camera of a first electronic device; based onthe obtained QR code, identify connection information for establishing aconnection between the first electronic device and the second electronicdevice; establish the connection between the first electronic device andthe second electronic device based on the identified connectioninformation; and transmit access information of an access point to thesecond electronic device over the established connection between thefirst electronic device and the second electronic device, wherein theaccess information of the access point is used for the second electronicdevice to connect to the access point, and wherein the connectionbetween the first electronic device and the second electronic device isestablished based on the identified connection information and a serviceset identifier (SSID) included in the obtained QR code.
 12. Thenon-transitory computer-readable storage medium of claim 11, wherein thesecond electronic device is registered, via the access point, at a homeserver corresponding to the first electronic device.
 13. Thenon-transitory computer-readable storage medium of claim 11, wherein theinstructions, when executed, cause the first electronic device tofurther establish a connection between the first electronic device andthe access point to identify that the second electronic device isconnected the access point.
 14. The non-transitory computer-readablestorage medium of claim 11, wherein the connection information furtherincludes identification information to be used by the second electronicdevice to identify the first electronic device for establishing theconnection between the first electronic device and the second electronicdevice.
 15. The non-transitory computer-readable storage medium of claim12, wherein the instructions, when executed, cause the first electronicdevice to further register the second electronic device based at leaston the second electronic device being connected to the access point. 16.A system comprising: a first electronic device; and a second electronicdevice, wherein the first electronic device is configured to: obtain aquick response (QR) code on the second electronic device, the QR codebeing obtained by using a camera of the first electronic device, basedon the obtained QR code, identify connection information forestablishing a connection between the first electronic device and thesecond electronic device, establish the connection between the firstelectronic device and the second electronic device based on theidentified connection information, and transmit access information of anaccess point to the second electronic device over the establishedconnection between the first electronic device and the second electronicdevice, wherein the access information of the access point is used forthe second electronic device to connect to the access point, wherein theconnection between the first electronic device and the second electronicdevice is established based on the identified connection information anda service set identifier (SSID) included in the obtained QR code, andwherein the second electronic device is configured to: receive theaccess information of the access point from the first electronic device,and establish a connection with the access point based on the receivedaccess information of the access point.
 17. The system of claim 16,wherein the first electronic device further configured to register thesecond electronic device based at least on the second electronic devicebeing connected to the access point.
 18. The system of claim 16, whereinthe access point is configured to: receive, from the second electronicdevice, a request to establish a connection with the second electronicdevice, and establish the connection with the second electronic devicein response to receiving the request to establish the connection withthe second electronic device.